package com.xju.atpgs.controller;

import com.xju.atpgs.utils.SecurityUserHelper;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class CommonController {

    @RequestMapping("/login")
    public String login(){
        return "module_one/login";
    }

    @RequestMapping("/plain")
    public String plain(){
        return "module_two/plain_page";
    }

    @RequestMapping("/auto-generator")
    public String autoGenerator() {
        return "module_three/exam_generator_auto";
    }

    @RequestMapping("/manual-generator")
    public String manualGenerator(){
        return "module_three/exam_generator_manual";
    }


}
